﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IWMAG.Scripting.Helpers;
using IWMAG.Scripting.Compiler;
using IWMAG.Scripting.Interpreter;

namespace IWMAG.Scripting.AST.ObjectModel
{
    public abstract class CodeStatement : CodeObject {
        public CodeStatement(Lexeme l) : base(l) { }

        public override void Verify(Helpers.CompileTable sym, List<Compiler.IUserInfo> error) { }

        public virtual IEnumerable<Continuation> Execute(ScriptEngine engine, Helpers.RuntimeTable sym) {
            yield break;
        }
    }
}
